import {
	request
} from './request'


import { requestNews } from './requestNews.js'
import qs from 'qs'




//获取全部分销人员
export function listMembers(obj) {
	return request({
		url: 'fenxiao/listFenXiaoRecords',
		method: 'post',
		data: qs.stringify(obj)
	})
}

//处理提现申请
export function updateExm(obj) {
	return request({
		url: 'fenxiao/updateRecordsStatus',
		method: 'post',
		data: qs.stringify(obj)
	})
}


//获取活动分销记录
export function getActivitySharingRecordList(obj) {
	return request({
		url: 'fenxiangShare/getActivitySharingRecordList',
		method: 'post',
		data: qs.stringify(obj)
	})
}
//审核分销记录
export function authActivitySharingRecord(obj) {
	return request({
		url: 'fenxiangShare/authActivitySharingRecord',
		method: 'post',
		data: qs.stringify(obj)
	})
}



// 中汇门店 3522 发放奖金
export function updateUserCash(obj) {
	return requestNews({
		url: 'stored/updateUserCash',
		method: 'post',
		data: qs.stringify(obj)
	})
}
